//
//  AwardSettingController.m
//  CP20180523
//
//  Created by l wb on 2018/5/26.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "AwardSettingController.h"

@interface AwardSettingController ()

@end

@implementation AwardSettingController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"奖项设置";
    [self creatWebView];
    
}
-(void)creatWebView{
    
    UIWebView *webView = [[UIWebView alloc] initWithFrame:self.view.frame];
    [self.view addSubview:webView];
    NSString *filePath = [[NSBundle mainBundle] pathForResource:@"lottery_rank" ofType:@"html"];
    NSString *htmlString = [NSString stringWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:nil];
    NSURL *url = [[NSURL alloc] initWithString:filePath];
    [webView loadHTMLString:htmlString baseURL:url];
    
    webView.backgroundColor = [UIColor whiteColor];
}


@end
